package cn.edu.nit.sys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("sys_user")
public class User {

    @TableId(type = IdType.ASSIGN_ID)
    private String id;
    private String username;
    private String password;
    @TableField(exist = false)
    private String phone;
    @TableField(exist = false)
    private String email;
    private String enable;
    private Integer roleId;
    private String createTime;
    @TableField(exist = false)
    private String name;
    private String nickname;
}
